const express = require("express");
const app = express();
app.listen(3000,()=>{
  console.log("服务器已开启");
});
const path = require("path"); 
app.use("/js",express.static("./view/js"))
app.get("/index",(req,res)=>{
  res.sendFile(path.join(__dirname,"./view/index.html"))
});
